<template>
  <l-data-panel v-if="data._isInit" :label="config.title">
    <l-barpercent
      :title="this.config.unit"
      :data="list"
      :valueKey="this.config.valueKey"
      :valueKey1="this.config.valueKey1"
      :labelKey="this.config.labelKey"
    ></l-barpercent>
  </l-data-panel>
</template>
<script>
import viewMixins from "../mixins/view";
export default {
  props: ["data"],
  mixins: [viewMixins()],
  data() {
    return {};
  },
  computed: {
    list() {
      return this.showData || [];
    },
  },

  mounted() {},
  methods: {},
};
</script>

